package com.bestcem.xm.label.enums;


import com.bestcem.xm.common.core.enums.CommonEnum;

/**
 * @author ming.xue <ming.xue@idiaoyan.com>
 * @desc 动态条件类别
 * @date 2021-05-24
 */
public enum ConditionCategoryEnum implements CommonEnum {
    /**
     * 普通条件
     */
    NORMAL("normal", 1),

    /**
     * 问卷相关条件
     */
    PROJECT("project", 2);

    private String name;

    private int index;

    ConditionCategoryEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    @Override
    public int getIndex() {
        return index;
    }

    @Override
    public String getName() {
        return name;
    }
}
